package com.fengze.business.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.fengze.common.annotation.Excel;
import com.fengze.common.core.domain.BaseEntity;

import java.io.Serializable;

/**
 * 上传文件信息对象 fz_file_info
 * 
 * @author lug
 * @date 2024-02-18
 */
public class FileInfo implements Serializable
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 业务id */
    @Excel(name = "业务id")
    private Long busiId;

    /** 业务类型 */
    @Excel(name = "业务类型")
    private String busiType;

    /** 文件类型 */
    @Excel(name = "文件类型")
    private String fileType;

    /** 文件名称 */
    @Excel(name = "文件名称")
    private String fileName;

    /** 文件大小 */
    @Excel(name = "文件大小")
    private Long fileSize;

    /** 文件存放路径 */
    @Excel(name = "文件存放路径")
    private String fileUrl;

    /** 信息状态0 信息未删除1信息已删除 */
    @Excel(name = "信息状态0 信息未删除1信息已删除")
    private Integer status;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setBusiId(Long busiId) 
    {
        this.busiId = busiId;
    }

    public Long getBusiId() 
    {
        return busiId;
    }
    public void setBusiType(String busiType) 
    {
        this.busiType = busiType;
    }

    public String getBusiType() 
    {
        return busiType;
    }
    public void setFileType(String fileType) 
    {
        this.fileType = fileType;
    }

    public String getFileType() 
    {
        return fileType;
    }
    public void setFileName(String fileName) 
    {
        this.fileName = fileName;
    }

    public String getFileName() 
    {
        return fileName;
    }
    public void setFileSize(Long fileSize)
    {
        this.fileSize = fileSize;
    }

    public Long getFileSize()
    {
        return fileSize;
    }
    public void setFileUrl(String fileUrl) 
    {
        this.fileUrl = fileUrl;
    }

    public String getFileUrl() 
    {
        return fileUrl;
    }
    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("busiId", getBusiId())
            .append("busiType", getBusiType())
            .append("fileType", getFileType())
            .append("fileName", getFileName())
            .append("fileSize", getFileSize())
            .append("fileUrl", getFileUrl())
            .append("status", getStatus())
            .toString();
    }
}
